#!/bin/bash

name=data-generator
version=latest

mvn -DskipTests clean install

docker build -t registry.cn-hangzhou.aliyuncs.com/guchenbo/$name:$version -f Dockerfile .
docker push registry.cn-hangzhou.aliyuncs.com/guchenbo/$name:$version
